﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace System.Collections
{

    /// <summary>
    /// Represents a collection with ability to access items by index.
    /// </summary>
    public interface IIndexableCollection : IEnumerable
    {

        /// <summary>
        /// The number of items contained in the collection.
        /// </summary>
        int Count
        {
            get;
        }

        /// <summary>
        /// Gets the item at the specified index in the collection.
        /// </summary>
        /// <param name="index">The index to lookup.</param>
        /// <returns>The item at the specified index.</returns>
        object this[int index]
        {
            get;
        }
    }
}
